#ifndef DDBPGUTS_H
#define DDBPGUTS_H

#include "vpguts.h"

class DoubleDoubleBonusPokerGuts : public VPGuts
{
	public:
		DoubleDoubleBonusPokerGuts(uint8 MinPairCard, PayFreqType,
			int32* payTable, int32 maxCols, int32 maxEvents);

		virtual Shue* newShue(const ShueGameInfo &sgi);
		virtual CardMgr* getCardMgr();
		virtual int32 CalcPayout(int32* pEvent, VPHand* pHand, int32 bet,
			CalcPayoutMode, uint8* subGameData, int32 length);

	protected:
		int32 classifyHand(VPHand*);

	protected:
		uint8 minPair;
};

inline
DoubleDoubleBonusPokerGuts::DoubleDoubleBonusPokerGuts(
	uint8 MinPairCard, PayFreqType payFreq,
	int32* payTable, int32 maxCols, int32 maxEvents)
		: VPGuts(payFreq, payTable, maxCols, maxEvents)
{
	minPair = MinPairCard;
}

#endif
